﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JsonRequests;

namespace PluggableModulesInterface
{
    public abstract class WorkingBaseMTHttpRouter : WorkingBaseMTRouter
    {
        #region Properties and Fields
        protected JsonRequest SmsRouterObject = new JsonRequest();
        #endregion Properties and Fields

        protected override void SendSms(string routerUrl)
        {
            SmsRouterObject.Timeout = ServiceTimeOut;
            SmsRouterObject.Url = routerUrl;
            base.SendSms(routerUrl);
        }

        protected override void GetReport(string routerUrl)
        {
            SmsRouterObject.Timeout = ServiceTimeOut;
            SmsRouterObject.Url = routerUrl;
            base.GetReport(routerUrl);
        }
    }
}
